package com.cskaoyan.javase.oop2._1extends._6protected._0one;

/**
 * 同包下的非子类
 * 实际上不管是不是子类,都可以随意访问
 *
 * @since 09:50
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class SamePackageAnotherClazz {
    public static void main(String[] args) {
        CurrentClazz cc = new CurrentClazz();
        System.out.println(cc.num);

        SamePackageSonClazz sc = new SamePackageSonClazz();
        System.out.println(sc.num);
    }
}
